package com.zcgk.modules.file.entity.vo.req;

import com.zcgk.core.domain.check.InsertCheck;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/****************************************************
 *
 * 新增附件 -- 入参VO
 *
 *
 * @author Francis
 * @date 2020/2/20 13:40
 * @version 1.0
 **************************************************/
@Data
public class AddAttachmentReqVO {

    @NotEmpty(message = "所属系统id不能为空！", groups = InsertCheck.class)
    @ApiModelProperty(value = "所属系统id：必填")
    private String systemIdFk;

    @NotEmpty(message = "资源id不能为空！", groups = InsertCheck.class)
    @ApiModelProperty(value = "资源id：必填")
    private String resIdFk;

    @ApiModelProperty(value = "备注：非必填；老系统-传表名、新系统-可不传")
    private String remark;

    @ApiModelProperty(value = "排序号：非必填")
    private Integer orderNo;
}
